home *** CD-ROM | disk | FTP | other *** search
Unknown | 1998-12-14 | 9.2 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Windows Terminal Configuration (other/windowsTerminalConfiguration)
| ext
| Unsupported |
100%
| file
| data
| default
| |
100%
| gt2
| C/C++ Source Code
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 2f 2a 0a 20 2a 20 24 49 | 64 3a 20 69 ff ff ff ff |/*. * $I|d: i....|
|00000010| ff ff 00 00 7f 38 32 37 | 43 46 45 38 31 39 39 38 |.....827|CFE81998|
|00000020| 2f 31 32 2f 31 34 20 31 | 38 3a 34 30 3a 31 32 20 |/12/14 1|8:40:12 |
|00000030| 6c 68 65 63 6b 69 6e 67 | 20 45 78 70 20 24 0a 20 |lhecking| Exp $. |
|00000040| 2a 0a 20 2a 2f 0a 0a 2f | 2a 20 47 4e 55 50 4c 4f |*. */../|* GNUPLO|
|00000050| 54 20 2d 20 69 72 69 73 | 34 64 2e 74 72 6d 20 2a |T - iris|4d.trm *|
|00000060| 2f 0a 0a 2f 2a 5b 0a 20 | 2a 20 43 6f 70 79 72 69 |/../*[. |* Copyri|
|00000070| 67 68 74 20 31 39 39 30 | 20 2d 20 31 39 39 33 2c |ght 1990| - 1993,|
|00000080| 20 31 39 39 38 20 20 20 | 54 68 6f 6d 61 73 20 57 | 1998 |Thomas W|
|00000090| 69 6c 6c 69 61 6d 73 2c | 20 43 6f 6c 69 6e 20 4b |illiams,| Colin K|
|000000a0| 65 6c 6c 65 79 0a 20 2a | 0a 20 2a 20 50 65 72 6d |elley. *|. * Perm|
|000000b0| 69 73 73 69 6f 6e 20 74 | 6f 20 75 73 65 2c 20 63 |ission t|o use, c|
|000000c0| 6f 70 79 2c 20 61 6e 64 | 20 64 69 73 74 72 69 62 |opy, and| distrib|
|000000d0| 75 74 65 20 74 68 69 73 | 20 73 6f 66 74 77 61 72 |ute this| softwar|
|000000e0| 65 20 61 6e 64 20 69 74 | 73 0a 20 2a 20 64 6f 63 |e and it|s. * doc|
|000000f0| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 66 6f 72 20 61 |umentati|on for a|
|00000100| 6e 79 20 70 75 72 70 6f | 73 65 20 77 69 74 68 20 |ny purpo|se with |
|00000110| 6f 72 20 77 69 74 68 6f | 75 74 20 66 65 65 20 69 |or witho|ut fee i|
|00000120| 73 20 68 65 72 65 62 79 | 20 67 72 61 6e 74 65 64 |s hereby| granted|
|00000130| 2c 0a 20 2a 20 70 72 6f | 76 69 64 65 64 20 74 68 |,. * pro|vided th|
|00000140| 61 74 20 74 68 65 20 61 | 62 6f 76 65 20 63 6f 70 |at the a|bove cop|
|00000150| 79 72 69 67 68 74 20 6e | 6f 74 69 63 65 20 61 70 |yright n|otice ap|
|00000160| 70 65 61 72 20 69 6e 20 | 61 6c 6c 20 63 6f 70 69 |pear in |all copi|
|00000170| 65 73 20 61 6e 64 0a 20 | 2a 20 74 68 61 74 20 62 |es and. |* that b|
|00000180| 6f 74 68 20 74 68 61 74 | 20 63 6f 70 79 72 69 67 |oth that| copyrig|
|00000190| 68 74 20 6e 6f 74 69 63 | 65 20 61 6e 64 20 74 68 |ht notic|e and th|
|000001a0| 69 73 20 70 65 72 6d 69 | 73 73 69 6f 6e 20 6e 6f |is permi|ssion no|
|000001b0| 74 69 63 65 20 61 70 70 | 65 61 72 0a 20 2a 20 69 |tice app|ear. * i|
|000001c0| 6e 20 73 75 70 70 6f 72 | 74 69 6e 67 20 64 6f 63 |n suppor|ting doc|
|000001d0| 75 6d 65 6e 74 61 74 69 | 6f 6e 2e 0a 20 2a 0a 20 |umentati|on.. *. |
|000001e0| 2a 20 50 65 72 6d 69 73 | 73 69 6f 6e 20 74 6f 20 |* Permis|sion to |
|000001f0| 6d 6f 64 69 66 79 20 74 | 68 65 20 73 6f 66 74 77 |modify t|he softw|
|00000200| 61 72 65 20 69 73 20 67 | 72 61 6e 74 65 64 2c 20 |are is g|ranted, |
|00000210| 62 75 74 20 6e 6f 74 20 | 74 68 65 20 72 69 67 68 |but not |the righ|
|00000220| 74 20 74 6f 0a 20 2a 20 | 64 69 73 74 72 69 62 75 |t to. * |distribu|
|00000230| 74 65 20 74 68 65 20 63 | 6f 6d 70 6c 65 74 65 20 |te the c|omplete |
|00000240| 6d 6f 64 69 66 69 65 64 | 20 73 6f 75 72 63 65 20 |modified| source |
|00000250| 63 6f 64 65 2e 20 20 4d | 6f 64 69 66 69 63 61 74 |code. M|odificat|
|00000260| 69 6f 6e 73 20 61 72 65 | 20 74 6f 0a 20 2a 20 62 |ions are| to. * b|
|00000270| 65 20 64 69 73 74 72 69 | 62 75 74 65 64 20 61 73 |e distri|buted as|
|00000280| 20 70 61 74 63 68 65 73 | 20 74 6f 20 74 68 65 20 | patches| to the |
|00000290| 72 65 6c 65 61 73 65 64 | 20 76 65 72 73 69 6f 6e |released| version|
|000002a0| 2e 20 20 50 65 72 6d 69 | 73 73 69 6f 6e 20 74 6f |. Permi|ssion to|
|000002b0| 0a 20 2a 20 64 69 73 74 | 72 69 62 75 74 65 20 62 |. * dist|ribute b|
|000002c0| 69 6e 61 72 69 65 73 20 | 70 72 6f 64 75 63 65 64 |inaries |produced|
|000002d0| 20 62 79 20 63 6f 6d 70 | 69 6c 69 6e 67 20 6d 6f | by comp|iling mo|
|000002e0| 64 69 66 69 65 64 20 73 | 6f 75 72 63 65 73 20 69 |dified s|ources i|
|000002f0| 73 20 67 72 61 6e 74 65 | 64 2c 0a 20 2a 20 70 72 |s grante|d,. * pr|
|00000300| 6f 76 69 64 65 64 20 79 | 6f 75 0a 20 2a 20 20 20 |ovided y|ou. * |
|00000310| 31 2e 20 64 69 73 74 72 | 69 62 75 74 65 20 74 68 |1. distr|ibute th|
|00000320| 65 20 63 6f 72 72 65 73 | 70 6f 6e 64 69 6e 67 20 |e corres|ponding |
|00000330| 73 6f 75 72 63 65 20 6d | 6f 64 69 66 69 63 61 74 |source m|odificat|
|00000340| 69 6f 6e 73 20 66 72 6f | 6d 20 74 68 65 0a 20 2a |ions fro|m the. *|
|00000350| 20 20 20 20 72 65 6c 65 | 61 73 65 64 20 76 65 72 | rele|ased ver|
|00000360| 73 69 6f 6e 20 69 6e 20 | 74 68 65 20 66 6f 72 6d |sion in |the form|
|00000370| 20 6f 66 20 61 20 70 61 | 74 63 68 20 66 69 6c 65 | of a pa|tch file|
|00000380| 20 61 6c 6f 6e 67 20 77 | 69 74 68 20 74 68 65 20 | along w|ith the |
|00000390| 62 69 6e 61 72 69 65 73 | 2c 0a 20 2a 20 20 20 32 |binaries|,. * 2|
|000003a0| 2e 20 61 64 64 20 73 70 | 65 63 69 61 6c 20 76 65 |. add sp|ecial ve|
|000003b0| 72 73 69 6f 6e 20 69 64 | 65 6e 74 69 66 69 63 61 |rsion id|entifica|
|000003c0| 74 69 6f 6e 20 74 6f 20 | 64 69 73 74 69 6e 67 75 |tion to |distingu|
|000003d0| 69 73 68 20 79 6f 75 72 | 20 76 65 72 73 69 6f 6e |ish your| version|
|000003e0| 0a 20 2a 20 20 20 20 69 | 6e 20 61 64 64 69 74 69 |. * i|n additi|
|000003f0| 6f 6e 20 74 6f 20 74 68 | 65 20 62 61 73 65 20 72 |on to th|e base r|
|00000400| 65 6c 65 61 73 65 20 76 | 65 72 73 69 6f 6e 20 6e |elease v|ersion n|
|00000410| 75 6d 62 65 72 2c 0a 20 | 2a 20 20 20 33 2e 20 70 |umber,. |* 3. p|
|00000420| 72 6f 76 69 64 65 20 79 | 6f 75 72 20 6e 61 6d 65 |rovide y|our name|
|00000430| 20 61 6e 64 20 61 64 64 | 72 65 73 73 20 61 73 20 | and add|ress as |
|00000440| 74 68 65 20 70 72 69 6d | 61 72 79 20 63 6f 6e 74 |the prim|ary cont|
|00000450| 61 63 74 20 66 6f 72 20 | 74 68 65 0a 20 2a 20 20 |act for |the. * |
|00000460| 20 20 73 75 70 70 6f 72 | 74 20 6f 66 20 79 6f 75 | suppor|t of you|
|00000470| 72 20 6d 6f 64 69 66 69 | 65 64 20 76 65 72 73 69 |r modifi|ed versi|
|00000480| 6f 6e 2c 20 61 6e 64 0a | 20 2a 20 20 20 34 2e 20 |on, and.| * 4. |
|00000490| 72 65 74 61 69 6e 20 6f | 75 72 20 63 6f 6e 74 61 |retain o|ur conta|
|000004a0| 63 74 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 69 |ct infor|mation i|
|000004b0| 6e 20 72 65 67 61 72 64 | 20 74 6f 20 75 73 65 20 |n regard| to use |
|000004c0| 6f 66 20 74 68 65 20 62 | 61 73 65 0a 20 2a 20 20 |of the b|ase. * |
|000004d0| 20 20 73 6f 66 74 77 61 | 72 65 2e 0a 20 2a 20 50 | softwa|re.. * P|
|000004e0| 65 72 6d 69 73 73 69 6f | 6e 20 74 6f 20 64 69 73 |ermissio|n to dis|
|000004f0| 74 72 69 62 75 74 65 20 | 74 68 65 20 72 65 6c 65 |tribute |the rele|
|00000500| 61 73 65 64 20 76 65 72 | 73 69 6f 6e 20 6f 66 20 |ased ver|sion of |
|00000510| 74 68 65 20 73 6f 75 72 | 63 65 20 63 6f 64 65 20 |the sour|ce code |
|00000520| 61 6c 6f 6e 67 0a 20 2a | 20 77 69 74 68 20 63 6f |along. *| with co|
|00000530| 72 72 65 73 70 6f 6e 64 | 69 6e 67 20 73 6f 75 72 |rrespond|ing sour|
|00000540| 63 65 20 6d 6f 64 69 66 | 69 63 61 74 69 6f 6e 73 |ce modif|ications|
|00000550| 20 69 6e 20 74 68 65 20 | 66 6f 72 6d 20 6f 66 20 | in the |form of |
|00000560| 61 20 70 61 74 63 68 20 | 66 69 6c 65 20 69 73 0a |a patch |file is.|
|00000570| 20 2a 20 67 72 61 6e 74 | 65 64 20 77 69 74 68 20 | * grant|ed with |
|00000580| 73 61 6d 65 20 70 72 6f | 76 69 73 69 6f 6e 73 20 |same pro|visions |
|00000590| 32 20 74 68 72 6f 75 67 | 68 20 34 20 66 6f 72 20 |2 throug|h 4 for |
|000005a0| 62 69 6e 61 72 79 20 64 | 69 73 74 72 69 62 75 74 |binary d|istribut|
|000005b0| 69 6f 6e 73 2e 0a 20 2a | 0a 20 2a 20 54 68 69 73 |ions.. *|. * This|
|000005c0| 20 73 6f 66 74 77 61 72 | 65 20 69 73 20 70 72 6f | softwar|e is pro|
|000005d0| 76 69 64 65 64 20 22 61 | 73 20 69 73 22 20 77 69 |vided "a|s is" wi|
|000005e0| 74 68 6f 75 74 20 65 78 | 70 72 65 73 73 20 6f 72 |thout ex|press or|
|000005f0| 20 69 6d 70 6c 69 65 64 | 20 77 61 72 72 61 6e 74 | implied| warrant|
|00000600| 79 0a 20 2a 20 74 6f 20 | 74 68 65 20 65 78 74 65 |y. * to |the exte|
|00000610| 6e 74 20 70 65 72 6d 69 | 74 74 65 64 20 62 79 20 |nt permi|tted by |
|00000620| 61 70 70 6c 69 63 61 62 | 6c 65 20 6c 61 77 2e 0a |applicab|le law..|
|00000630| 5d 2a 2f 0a 0a 2f 2a 0a | 20 2a 20 54 68 69 73 20 |]*/../*.| * This |
|00000640| 66 69 6c 65 20 69 73 20 | 69 6e 63 6c 75 64 65 64 |file is |included|
|00000650| 20 62 79 20 2e 2e 2f 74 | 65 72 6d 2e 63 2e 0a 20 | by ../t|erm.c.. |
|00000660| 2a 0a 20 2a 20 54 68 69 | 73 20 74 65 72 6d 69 6e |*. * Thi|s termin|
|00000670| 61 6c 20 64 72 69 76 65 | 72 20 73 75 70 70 6f 72 |al drive|r suppor|
|00000680| 74 73 3a 0a 20 2a 20 20 | 20 49 52 49 53 20 74 65 |ts:. * | IRIS te|
|00000690| 72 6d 69 6e 61 6c 73 0a | 20 2a 0a 20 2a 20 41 55 |rminals.| *. * AU|
|000006a0| 54 48 4f 52 53 0a 20 2a | 20 20 20 4a 6f 68 6e 20 |THORS. *| John |
|000006b0| 48 2e 20 4d 65 72 72 69 | 74 74 20 0a 20 2a 20 20 |H. Merri|tt . * |
|000006c0| 20 20 20 20 20 20 20 20 | 20 28 41 70 70 6c 69 65 | | (Applie|
|000006d0| 64 20 52 65 73 65 61 72 | 63 68 20 43 6f 72 70 6f |d Resear|ch Corpo|
|000006e0| 72 61 74 69 6f 6e 29 20 | 37 2f 31 2f 38 39 0a 20 |ration) |7/1/89. |
|000006f0| 2a 20 20 20 20 20 20 20 | 20 20 20 20 49 4e 54 45 |* | INTE|
|00000700| 52 4e 45 54 3a 20 6d 65 | 72 72 69 74 74 40 69 72 |RNET: me|rritt@ir|
|00000710| 69 73 36 31 33 2e 67 73 | 66 63 2e 6e 61 73 61 2e |is613.gs|fc.nasa.|
|00000720| 67 6f 76 0a 20 2a 20 0a | 20 2a 20 73 65 6e 64 20 |gov. * .| * send |
|00000730| 79 6f 75 72 20 63 6f 6d | 6d 65 6e 74 73 20 6f 72 |your com|ments or|
|00000740| 20 73 75 67 67 65 73 74 | 69 6f 6e 73 20 74 6f 20 | suggest|ions to |
|00000750| 28 69 6e 66 6f 2d 67 6e | 75 70 6c 6f 74 40 64 61 |(info-gn|uplot@da|
|00000760| 72 74 6d 6f 75 74 68 2e | 65 64 75 29 2e 0a 20 2a |rtmouth.|edu).. *|
|00000770| 20 0a 20 2a 2f 0a 2f 2a | 0a 20 2a 20 61 64 61 70 | . */./*|. * adap|
|00000780| 74 65 64 20 74 6f 20 74 | 68 65 20 6e 65 77 20 74 |ted to t|he new t|
|00000790| 65 72 6d 69 6e 61 6c 20 | 6c 61 79 6f 75 74 20 62 |erminal |layout b|
|000007a0| 79 20 53 74 65 66 61 6e | 20 42 6f 64 65 77 69 67 |y Stefan| Bodewig|
|000007b0| 20 28 44 65 63 2e 20 31 | 39 39 35 29 0a 20 2a 2f | (Dec. 1|995). */|
|000007c0| 0a 0a 23 69 6e 63 6c 75 | 64 65 20 22 64 72 69 76 |..#inclu|de "driv|
|000007d0| 65 72 2e 68 22 0a 0a 23 | 69 66 64 65 66 20 54 45 |er.h"..#|ifdef TE|
|000007e0| 52 4d 5f 52 45 47 49 53 | 54 45 52 0a 72 65 67 69 |RM_REGIS|TER.regi|
|000007f0| 73 74 65 72 5f 74 65 72 | 6d 28 69 72 69 73 34 64 |ster_ter|m(iris4d|
|00000800| 29 0a 23 65 6e 64 69 66 | 0a 0a 23 69 66 64 65 66 |).#endif|..#ifdef|
|00000810| 20 54 45 52 4d 5f 50 52 | 4f 54 4f 0a 54 45 52 4d | TERM_PR|OTO.TERM|
|00000820| 5f 50 55 42 4c 49 43 20 | 76 6f 69 64 20 49 52 49 |_PUBLIC |void IRI|
|00000830| 53 34 44 5f 6f 70 74 69 | 6f 6e 73 20 5f 5f 50 52 |S4D_opti|ons __PR|
|00000840| 4f 54 4f 28 28 76 6f 69 | 64 29 29 3b 0a 54 45 52 |OTO((voi|d));.TER|
|00000850| 4d 5f 50 55 42 4c 49 43 | 20 76 6f 69 64 20 49 52 |M_PUBLIC| void IR|
|00000860| 49 53 34 44 5f 69 6e 69 | 74 20 5f 5f 50 52 4f 54 |IS4D_ini|t __PROT|
|00000870| 4f 28 28 76 6f 69 64 29 | 29 3b 0a 54 45 52 4d 5f |O((void)|);.TERM_|
|00000880| 50 55 42 4c 49 43 20 76 | 6f 69 64 20 49 52 49 53 |PUBLIC v|oid IRIS|
|00000890| 34 44 5f 67 72 61 70 68 | 69 63 73 20 5f 5f 50 52 |4D_graph|ics __PR|
|000008a0| 4f 54 4f 28 28 76 6f 69 | 64 29 29 3b 0a 54 45 52 |OTO((voi|d));.TER|
|000008b0| 4d 5f 50 55 42 4c 49 43 | 20 76 6f 69 64 20 49 52 |M_PUBLIC| void IR|
|000008c0| 49 53 34 44 5f 74 65 78 | 74 20 5f 5f 50 52 4f 54 |IS4D_tex|t __PROT|
|000008d0| 4f 28 28 76 6f 69 64 29 | 29 3b 0a 54 45 52 4d 5f |O((void)|);.TERM_|
|000008e0| 50 55 42 4c 49 43 20 76 | 6f 69 64 20 49 52 49 53 |PUBLIC v|oid IRIS|
|000008f0| 34 44 5f 6c 69 6e 65 74 | 79 70 65 20 5f 5f 50 52 |4D_linet|ype __PR|
|00000900| 4f 54 4f 28 28 69 6e 74 | 20 6c 69 6e 65 74 79 70 |OTO((int| linetyp|
|00000910| 65 29 29 3b 0a 54 45 52 | 4d 5f 50 55 42 4c 49 43 |e));.TER|M_PUBLIC|
|00000920| 20 76 6f 69 64 20 49 52 | 49 53 34 44 5f 6d 6f 76 | void IR|IS4D_mov|
|00000930| 65 20 5f 5f 50 52 4f 54 | 4f 28 28 75 6e 73 69 67 |e __PROT|O((unsig|
|00000940| 6e 65 64 20 69 6e 74 20 | 78 2c 20 75 6e 73 69 67 |ned int |x, unsig|
|00000950| 6e 65 64 20 69 6e 74 20 | 79 29 29 3b 0a 54 45 52 |ned int |y));.TER|
|00000960| 4d 5f 50 55 42 4c 49 43 | 20 76 6f 69 64 20 49 52 |M_PUBLIC| void IR|
|00000970| 49 53 34 44 5f 76 65 63 | 74 6f 72 20 5f 5f 50 52 |IS4D_vec|tor __PR|
|00000980| 4f 54 4f 28 28 75 6e 73 | 69 67 6e 65 64 20 69 6e |OTO((uns|igned in|
|00000990| 74 20 78 2c 20 75 6e 73 | 69 67 6e 65 64 20 69 6e |t x, uns|igned in|
|000009a0| 74 20 79 29 29 3b 0a 54 | 45 52 4d 5f 50 55 42 4c |t y));.T|ERM_PUBL|
|000009b0| 49 43 20 76 6f 69 64 20 | 49 52 49 53 34 44 5f 70 |IC void |IRIS4D_p|
|000009c0| 75 74 5f 74 65 78 74 20 | 5f 5f 50 52 4f 54 4f 28 |ut_text |__PROTO(|
|000009d0| 28 75 6e 73 69 67 6e 65 | 64 20 69 6e 74 20 78 2c |(unsigne|d int x,|
|000009e0| 20 75 6e 73 69 67 6e 65 | 64 20 69 6e 74 20 79 2c | unsigne|d int y,|
|000009f0| 20 63 68 61 72 20 2a 73 | 74 72 29 29 3b 0a 54 45 | char *s|tr));.TE|
|00000a00| 52 4d 5f 50 55 42 4c 49 | 43 20 76 6f 69 64 20 49 |RM_PUBLI|C void I|
|00000a10| 52 49 53 34 44 5f 72 65 | 73 65 74 20 5f 5f 50 52 |RIS4D_re|set __PR|
|00000a20| 4f 54 4f 28 28 76 6f 69 | 64 29 29 3b 0a 23 64 65 |OTO((voi|d));.#de|
|00000a30| 66 69 6e 65 20 49 52 49 | 53 34 44 5f 58 4d 41 58 |fine IRI|S4D_XMAX|
|00000a40| 20 31 30 32 34 0a 23 64 | 65 66 69 6e 65 20 49 52 | 1024.#d|efine IR|
|00000a50| 49 53 34 44 5f 59 4d 41 | 58 20 31 30 32 34 0a 23 |IS4D_YMA|X 1024.#|
|00000a60| 64 65 66 69 6e 65 20 49 | 52 49 53 34 44 5f 56 43 |define I|RIS4D_VC|
|00000a70| 48 41 52 20 28 49 52 49 | 53 34 44 5f 59 4d 41 58 |HAR (IRI|S4D_YMAX|
|00000a80| 2f 33 30 29 0a 23 64 65 | 66 69 6e 65 20 49 52 49 |/30).#de|fine IRI|
|00000a90| 53 34 44 5f 48 43 48 41 | 52 20 28 49 52 49 53 34 |S4D_HCHA|R (IRIS4|
|00000aa0| 44 5f 58 4d 41 58 2f 37 | 32 29 0a 23 64 65 66 69 |D_XMAX/7|2).#defi|
|00000ab0| 6e 65 20 49 52 49 53 34 | 44 5f 56 54 49 43 20 28 |ne IRIS4|D_VTIC (|
|00000ac0| 49 52 49 53 34 44 5f 59 | 4d 41 58 2f 38 30 29 0a |IRIS4D_Y|MAX/80).|
|00000ad0| 23 64 65 66 69 6e 65 20 | 49 52 49 53 34 44 5f 48 |#define |IRIS4D_H|
|00000ae0| 54 49 43 20 28 49 52 49 | 53 34 44 5f 58 4d 41 58 |TIC (IRI|S4D_XMAX|
|00000af0| 2f 38 30 29 0a 23 65 6e | 64 69 66 20 2f 2a 20 54 |/80).#en|dif /* T|
|00000b00| 45 52 4d 5f 50 52 4f 54 | 4f 20 2a 2f 0a 0a 23 69 |ERM_PROT|O */..#i|
|00000b10| 66 6e 64 65 66 20 54 45 | 52 4d 5f 50 52 4f 54 4f |fndef TE|RM_PROTO|
|00000b20| 5f 4f 4e 4c 59 0a 23 69 | 66 64 65 66 20 54 45 52 |_ONLY.#i|fdef TER|
|00000b30| 4d 5f 42 4f 44 59 0a 76 | 6f 69 64 20 49 52 49 53 |M_BODY.v|oid IRIS|
|00000b40| 34 44 5f 63 6d 6f 76 65 | 20 5f 5f 50 52 4f 54 4f |4D_cmove| __PROTO|
|00000b50| 28 28 75 6e 73 69 67 6e | 65 64 20 69 6e 74 20 78 |((unsign|ed int x|
|00000b60| 2c 20 75 6e 73 69 67 6e | 65 64 20 69 6e 74 20 79 |, unsign|ed int y|
|00000b70| 29 29 3b 0a 23 69 6e 63 | 6c 75 64 65 20 3c 67 6c |));.#inc|lude <gl|
|00000b80| 2e 68 3e 0a 0a 23 64 65 | 66 69 6e 65 20 49 52 49 |.h>..#de|fine IRI|
|00000b90| 53 34 44 52 43 20 20 20 | 20 22 2e 67 6e 75 70 6c |S4DRC | ".gnupl|
|00000ba0| 6f 74 5f 69 72 69 73 34 | 64 22 0a 0a 23 64 65 66 |ot_iris4|d"..#def|
|00000bb0| 69 6e 65 20 49 52 49 53 | 34 44 5f 58 4c 41 53 54 |ine IRIS|4D_XLAST|
|00000bc0| 20 28 49 52 49 53 34 44 | 5f 58 4d 41 58 20 2d 20 | (IRIS4D|_XMAX - |
|00000bd0| 31 29 0a 23 64 65 66 69 | 6e 65 20 49 52 49 53 34 |1).#defi|ne IRIS4|
|00000be0| 44 5f 59 4c 41 53 54 20 | 28 49 52 49 53 34 44 5f |D_YLAST |(IRIS4D_|
|00000bf0| 59 4d 41 58 20 2d 20 31 | 29 0a 0a 0a 73 74 61 74 |YMAX - 1|)...stat|
|00000c00| 69 63 20 73 68 6f 72 74 | 20 63 6f 6c 6f 72 73 32 |ic short| colors2|
|00000c10| 34 62 69 74 73 5b 5d 5b | 33 5d 20 3d 0a 7b 0a 20 |4bits[][|3] =.{. |
|00000c20| 20 20 20 7b 38 35 2c 20 | 38 35 2c 20 38 35 7d 2c | {85, |85, 85},|
|00000c30| 09 09 2f 2a 20 30 2e 20 | 42 41 43 4b 20 47 52 4f |../* 0. |BACK GRO|
|00000c40| 55 4e 44 20 28 20 44 41 | 52 4b 47 52 41 59 20 29 |UND ( DA|RKGRAY )|
|00000c50| 20 2a 2f 0a 20 20 20 20 | 7b 30 2c 20 30 2c 20 30 | */. |{0, 0, 0|
|00000c60| 7d 2c 09 09 09 2f 2a 20 | 31 2e 20 42 4c 41 43 4b |},.../* |1. BLACK|
|00000c70| 20 2a 2f 0a 20 20 20 20 | 7b 31 37 30 2c 20 30 2c | */. |{170, 0,|
|00000c80| 20 31 37 30 7d 2c 09 09 | 2f 2a 20 32 2e 20 4d 41 | 170},..|/* 2. MA|
|00000c90| 47 45 4e 54 41 20 2a 2f | 0a 20 20 20 20 7b 38 35 |GENTA */|. {85|
|00000ca0| 2c 20 32 35 35 2c 20 32 | 35 35 7d 2c 09 09 2f 2a |, 255, 2|55},../*|
|00000cb0| 20 33 2e 20 4c 49 47 48 | 54 43 59 41 4e 20 2a 2f | 3. LIGH|TCYAN */|
|00000cc0| 0a 20 20 20 20 7b 31 37 | 30 2c 20 30 2c 20 30 7d |. {17|0, 0, 0}|
|00000cd0| 2c 09 09 2f 2a 20 34 2e | 20 52 45 44 20 2a 2f 0a |,../* 4.| RED */.|
|00000ce0| 20 20 20 20 7b 30 2c 20 | 31 37 30 2c 20 30 7d 2c | {0, |170, 0},|
|00000cf0| 09 09 2f 2a 20 35 2e 20 | 47 52 45 45 4e 20 2a 2f |../* 5. |GREEN */|
|00000d00| 0a 20 20 20 20 7b 32 35 | 35 2c 20 38 35 2c 20 32 |. {25|5, 85, 2|
|00000d10| 35 35 7d 2c 09 09 2f 2a | 20 36 2e 20 4c 49 47 48 |55},../*| 6. LIGH|
|00000d20| 54 4d 41 47 45 4e 54 41 | 20 2a 2f 0a 20 20 20 20 |TMAGENTA| */. |
|00000d30| 7b 32 35 35 2c 20 32 35 | 35 2c 20 38 35 7d 2c 09 |{255, 25|5, 85},.|
|00000d40| 09 2f 2a 20 37 2e 20 59 | 45 4c 4c 4f 57 20 2a 2f |./* 7. Y|ELLOW */|
|00000d50| 0a 20 20 20 20 7b 32 35 | 35 2c 20 38 35 2c 20 38 |. {25|5, 85, 8|
|00000d60| 35 7d 2c 09 09 2f 2a 20 | 38 2e 20 4c 49 47 48 54 |5},../* |8. LIGHT|
|00000d70| 52 45 44 20 2a 2f 0a 20 | 20 20 20 7b 38 35 2c 20 |RED */. | {85, |
|00000d80| 32 35 35 2c 20 38 35 7d | 2c 09 09 2f 2a 20 39 2e |255, 85}|,../* 9.|
|00000d90| 20 4c 49 47 48 54 47 52 | 45 45 4e 20 2a 2f 0a 20 | LIGHTGR|EEN */. |
|00000da0| 20 20 20 7b 30 2c 20 31 | 37 30 2c 20 31 37 30 7d | {0, 1|70, 170}|
|00000db0| 2c 09 09 2f 2a 20 31 30 | 2e 20 43 59 41 4e 20 2a |,../* 10|. CYAN *|
|00000dc0| 2f 0a 20 20 20 20 7b 31 | 37 30 2c 20 31 37 30 2c |/. {1|70, 170,|
|00000dd0| 20 30 7d 2c 09 09 2f 2a | 20 31 31 2e 20 42 52 4f | 0},../*| 11. BRO|
|00000de0| 57 4e 20 2a 2f 0a 7d 3b | 0a 23 64 65 66 69 6e 65 |WN */.};|.#define|
|00000df0| 20 43 4f 4c 4f 52 32 34 | 5f 53 49 5a 45 20 28 73 | COLOR24|_SIZE (s|
|00000e00| 69 7a 65 6f 66 28 63 6f | 6c 6f 72 73 32 34 62 69 |izeof(co|lors24bi|
|00000e10| 74 73 29 20 2f 20 28 73 | 69 7a 65 6f 66 28 73 68 |ts) / (s|izeof(sh|
|00000e20| 6f 72 74 29 20 2a 20 33 | 29 29 0a 0a 73 74 61 74 |ort) * 3|))..stat|
|00000e30| 69 63 20 69 72 69 73 32 | 34 62 69 74 73 20 3d 20 |ic iris2|4bits = |
|00000e40| 46 41 4c 53 45 3b 0a 0a | 23 64 65 66 69 6e 65 20 |FALSE;..|#define |
|00000e50| 49 52 49 53 34 44 5f 42 | 41 43 4b 47 52 4f 55 4e |IRIS4D_B|ACKGROUN|
|00000e60| 44 09 30 0a 23 64 65 66 | 69 6e 65 20 49 52 49 53 |D.0.#def|ine IRIS|
|00000e70| 34 44 5f 42 4c 41 43 4b | 09 09 31 0a 23 64 65 66 |4D_BLACK|..1.#def|
|00000e80| 69 6e 65 20 49 52 49 53 | 34 44 5f 4d 41 47 45 4e |ine IRIS|4D_MAGEN|
|00000e90| 54 41 09 09 32 0a 23 64 | 65 66 69 6e 65 20 49 52 |TA..2.#d|efine IR|
|00000ea0| 49 53 34 44 5f 4c 49 47 | 48 54 43 59 41 4e 09 33 |IS4D_LIG|HTCYAN.3|
|00000eb0| 0a 23 64 65 66 69 6e 65 | 20 49 52 49 53 34 44 5f |.#define| IRIS4D_|
|00000ec0| 52 45 44 09 09 34 0a 23 | 64 65 66 69 6e 65 20 49 |RED..4.#|define I|
|00000ed0| 52 49 53 34 44 5f 47 52 | 45 45 4e 09 09 35 0a 23 |RIS4D_GR|EEN..5.#|
|00000ee0| 64 65 66 69 6e 65 20 49 | 52 49 53 34 44 5f 4c 49 |define I|RIS4D_LI|
|00000ef0| 47 48 54 4d 41 47 45 4e | 54 41 09 36 0a 23 64 65 |GHTMAGEN|TA.6.#de|
|00000f00| 66 69 6e 65 20 49 52 49 | 53 34 44 5f 59 45 4c 4c |fine IRI|S4D_YELL|
|00000f10| 4f 57 09 09 37 0a 23 64 | 65 66 69 6e 65 20 49 52 |OW..7.#d|efine IR|
|00000f20| 49 53 34 44 5f 4c 49 47 | 48 54 52 45 44 09 09 38 |IS4D_LIG|HTRED..8|
|00000f30| 0a 23 64 65 66 69 6e 65 | 20 49 52 49 53 34 44 5f |.#define| IRIS4D_|
|00000f40| 4c 49 47 48 54 47 52 45 | 45 4e 09 39 0a 23 64 65 |LIGHTGRE|EN.9.#de|
|00000f50| 66 69 6e 65 20 49 52 49 | 53 34 44 5f 43 59 41 4e |fine IRI|S4D_CYAN|
|00000f60| 09 09 31 30 0a 23 64 65 | 66 69 6e 65 20 49 52 49 |..10.#de|fine IRI|
|00000f70| 53 34 44 5f 42 52 4f 57 | 4e 09 09 31 31 0a 0a 54 |S4D_BROW|N..11..T|
|00000f80| 45 52 4d 5f 50 55 42 4c | 49 43 20 76 6f 69 64 20 |ERM_PUBL|IC void |
|00000f90| 49 52 49 53 34 44 5f 6f | 70 74 69 6f 6e 73 28 29 |IRIS4D_o|ptions()|
|00000fa0| 0a 7b 0a 20 20 20 20 69 | 6e 74 20 69 20 3d 20 30 |.{. i|nt i = 0|
|00000fb0| 3b 0a 20 20 20 20 73 74 | 72 75 63 74 20 76 61 6c |;. st|ruct val|
|00000fc0| 75 65 20 61 3b 0a 0a 20 | 20 20 20 69 66 20 28 21 |ue a;.. | if (!|
|00000fd0| 45 4e 44 5f 4f 46 5f 43 | 4f 4d 4d 41 4e 44 29 20 |END_OF_C|OMMAND) |
|00000fe0| 7b 0a 09 69 20 3d 20 28 | 69 6e 74 29 20 72 65 61 |{..i = (|int) rea|
|00000ff0| 6c 28 63 6f 6e 73 74 5f | 65 78 70 72 65 73 73 28 |l(const_|express(|
|00001000| 26 61 29 29 3b 0a 20 20 | 20 20 7d 0a 20 20 20 20 |&a));. | }. |
|00001010| 69 72 69 73 32 34 62 69 | 74 73 20 3d 20 28 69 20 |iris24bi|ts = (i |
|00001020| 3d 3d 20 32 34 29 3b 0a | 0a 20 20 20 20 73 70 72 |== 24);.|. spr|
|00001030| 69 6e 74 66 28 74 65 72 | 6d 5f 6f 70 74 69 6f 6e |intf(ter|m_option|
|00001040| 73 2c 20 22 25 73 22 2c | 20 69 72 69 73 32 34 62 |s, "%s",| iris24b|
|00001050| 69 74 73 20 3f 20 22 32 | 34 22 20 3a 20 22 38 22 |its ? "2|4" : "8"|
|00001060| 29 3b 0a 7d 0a 0a 54 45 | 52 4d 5f 50 55 42 4c 49 |);.}..TE|RM_PUBLI|
|00001070| 43 20 76 6f 69 64 20 49 | 52 49 53 34 44 5f 69 6e |C void I|RIS4D_in|
|00001080| 69 74 28 29 0a 7b 0a 20 | 20 20 20 69 6e 74 20 69 |it().{. | int i|
|00001090| 3b 0a 20 20 20 20 63 68 | 61 72 20 68 6f 6d 65 64 |;. ch|ar homed|
|000010a0| 69 72 66 69 6c 65 5b 38 | 30 5d 2c 20 6c 69 6e 65 |irfile[8|0], line|
|000010b0| 5b 38 30 5d 3b 0a 20 20 | 20 20 46 49 4c 45 20 2a |[80];. | FILE *|
|000010c0| 66 3b 0a 0a 20 20 20 20 | 66 6f 72 65 67 72 6f 75 |f;.. |foregrou|
|000010d0| 6e 64 28 29 3b 0a 20 20 | 20 20 77 69 6e 6f 70 65 |nd();. | winope|
|000010e0| 6e 28 22 47 6e 75 70 6c | 6f 74 22 29 3b 0a 20 20 |n("Gnupl|ot");. |
|000010f0| 20 20 69 66 20 28 69 72 | 69 73 32 34 62 69 74 73 | if (ir|is24bits|
|00001100| 29 20 7b 0a 09 52 47 42 | 6d 6f 64 65 28 29 3b 0a |) {..RGB|mode();.|
|00001110| 09 67 63 6f 6e 66 69 67 | 28 29 3b 0a 20 20 20 20 |.gconfig|();. |
|00001120| 7d 0a 20 20 20 20 2f 2a | 20 42 41 44 20 43 4f 44 |}. /*| BAD COD|
|00001130| 49 4e 47 20 53 54 59 4c | 45 21 20 57 68 61 74 20 |ING STYL|E! What |
|00001140| 61 62 6f 75 74 20 65 72 | 72 6f 72 20 63 68 65 63 |about er|ror chec|
|00001150| 6b 69 6e 67 3f 20 6c 68 | 20 2a 2f 0a 20 20 20 20 |king? lh| */. |
|00001160| 73 74 72 63 61 74 28 73 | 74 72 63 61 74 28 73 74 |strcat(s|trcat(st|
|00001170| 72 63 70 79 28 68 6f 6d | 65 64 69 72 66 69 6c 65 |rcpy(hom|edirfile|
|00001180| 2c 20 67 65 74 65 6e 76 | 28 22 48 4f 4d 45 22 29 |, getenv|("HOME")|
|00001190| 29 2c 20 22 2f 22 29 2c | 20 49 52 49 53 34 44 52 |), "/"),| IRIS4DR|
|000011a0| 43 29 3b 0a 20 20 20 20 | 69 66 20 28 28 66 20 3d |C);. |if ((f =|
|000011b0| 20 66 6f 70 65 6e 28 49 | 52 49 53 34 44 52 43 2c | fopen(I|RIS4DRC,|
|000011c0| 20 22 72 22 29 29 20 21 | 3d 20 4e 55 4c 4c 20 7c | "r")) !|= NULL ||
|000011d0| 7c 0a 09 28 66 20 3d 20 | 66 6f 70 65 6e 28 68 6f ||..(f = |fopen(ho|
|000011e0| 6d 65 64 69 72 66 69 6c | 65 2c 20 22 72 22 29 29 |medirfil|e, "r"))|
|000011f0| 20 21 3d 20 4e 55 4c 4c | 29 20 7b 0a 09 69 6e 74 | != NULL|) {..int|
|00001200| 20 63 31 2c 20 63 32 2c | 20 63 33 3b 0a 09 66 6f | c1, c2,| c3;..fo|
|00001210| 72 20 28 69 20 3d 20 30 | 3b 20 69 20 3c 20 43 4f |r (i = 0|; i < CO|
|00001220| 4c 4f 52 32 34 5f 53 49 | 5a 45 3b 20 69 2b 2b 29 |LOR24_SI|ZE; i++)|
|00001230| 20 7b 0a 09 20 20 20 20 | 69 66 20 28 66 67 65 74 | {.. |if (fget|
|00001240| 73 28 6c 69 6e 65 2c 20 | 37 39 2c 20 66 29 20 3d |s(line, |79, f) =|
|00001250| 3d 20 4e 55 4c 4c 20 7c | 7c 0a 09 09 73 73 63 61 |= NULL |||...ssca|
|00001260| 6e 66 28 6c 69 6e 65 2c | 20 22 25 64 20 25 64 20 |nf(line,| "%d %d |
|00001270| 25 64 22 2c 20 26 63 31 | 2c 20 26 63 32 2c 20 26 |%d", &c1|, &c2, &|
|00001280| 63 33 29 20 21 3d 20 33 | 29 0a 09 09 69 6e 74 5f |c3) != 3|)...int_|
|00001290| 65 72 72 6f 72 28 22 49 | 72 69 73 34 64 20 63 6f |error("I|ris4d co|
|000012a0| 6c 6f 72 20 66 69 6c 65 | 20 74 65 72 6d 69 6e 61 |lor file| termina|
|000012b0| 74 65 64 20 70 72 65 6d | 61 74 75 72 65 6c 79 20 |ted prem|aturely |
|000012c0| 6f 72 20 77 72 6f 6e 67 | 20 66 6f 72 6d 61 74 2e |or wrong| format.|
|000012d0| 5c 6e 22 2c 20 4e 4f 5f | 43 41 52 45 54 29 3b 0a |\n", NO_|CARET);.|
|000012e0| 09 20 20 20 20 63 6f 6c | 6f 72 73 32 34 62 69 74 |. col|ors24bit|
|000012f0| 73 5b 69 5d 5b 30 5d 20 | 3d 20 63 31 3b 0a 09 20 |s[i][0] |= c1;.. |
|00001300| 20 20 20 63 6f 6c 6f 72 | 73 32 34 62 69 74 73 5b | color|s24bits[|
|00001310| 69 5d 5b 31 5d 20 3d 20 | 63 32 3b 0a 09 20 20 20 |i][1] = |c2;.. |
|00001320| 20 63 6f 6c 6f 72 73 32 | 34 62 69 74 73 5b 69 5d | colors2|4bits[i]|
|00001330| 5b 32 5d 20 3d 20 63 33 | 3b 0a 09 7d 0a 0a 09 66 |[2] = c3|;..}...f|
|00001340| 63 6c 6f 73 65 28 66 29 | 3b 0a 20 20 20 20 7d 0a |close(f)|;. }.|
|00001350| 20 20 20 20 64 65 66 6c | 69 6e 65 73 74 79 6c 65 | defl|inestyle|
|00001360| 28 31 2c 20 30 78 33 46 | 46 46 29 3b 09 2f 2a 20 |(1, 0x3F|FF);./* |
|00001370| 6c 6f 6e 67 20 64 61 73 | 68 20 2a 2f 0a 20 20 20 |long das|h */. |
|00001380| 20 64 65 66 6c 69 6e 65 | 73 74 79 6c 65 28 32 2c | defline|style(2,|
|00001390| 20 30 78 35 35 35 35 29 | 3b 09 2f 2a 20 64 6f 74 | 0x5555)|;./* dot|
|000013a0| 74 65 64 20 2a 2f 0a 20 | 20 20 20 64 65 66 6c 69 |ted */. | defli|
|000013b0| 6e 65 73 74 79 6c 65 28 | 33 2c 20 30 78 33 33 33 |nestyle(|3, 0x333|
|000013c0| 33 29 3b 09 2f 2a 20 73 | 68 6f 72 74 20 64 61 73 |3);./* s|hort das|
|000013d0| 68 20 2a 2f 0a 20 20 20 | 20 64 65 66 6c 69 6e 65 |h */. | defline|
|000013e0| 73 74 79 6c 65 28 34 2c | 20 30 78 42 35 41 44 29 |style(4,| 0xB5AD)|
|000013f0| 3b 09 2f 2a 20 64 6f 74 | 64 61 73 68 65 64 20 2a |;./* dot|dashed *|
|00001400| 2f 0a 20 20 20 20 64 65 | 66 6c 69 6e 65 73 74 79 |/. de|flinesty|
|00001410| 6c 65 28 35 2c 20 30 78 | 30 46 30 46 29 3b 09 2f |le(5, 0x|0F0F);./|
|00001420| 2a 20 64 61 73 68 65 64 | 20 2a 2f 0a 20 20 20 20 |* dashed| */. |
|00001430| 64 65 66 6c 69 6e 65 73 | 74 79 6c 65 28 36 2c 20 |deflines|tyle(6, |
|00001440| 30 78 42 42 42 42 29 3b | 09 2f 2a 20 64 6f 74 64 |0xBBBB);|./* dotd|
|00001450| 61 73 68 65 64 20 2a 2f | 0a 20 20 20 20 64 65 66 |ashed */|. def|
|00001460| 6c 69 6e 65 73 74 79 6c | 65 28 37 2c 20 30 78 33 |linestyl|e(7, 0x3|
|00001470| 46 33 46 29 3b 09 2f 2a | 20 6d 69 64 2d 6c 6f 6e |F3F);./*| mid-lon|
|00001480| 67 20 64 61 73 68 20 2a | 2f 0a 20 20 20 20 64 65 |g dash *|/. de|
|00001490| 66 6c 69 6e 65 73 74 79 | 6c 65 28 38 2c 20 30 78 |flinesty|le(8, 0x|
|000014a0| 37 37 37 37 29 3b 09 2f | 2a 20 6d 69 64 2d 6c 6f |7777);./|* mid-lo|
|000014b0| 6e 67 20 64 61 73 68 20 | 2a 2f 0a 0a 20 20 20 20 |ng dash |*/.. |
|000014c0| 72 65 74 75 72 6e 3b 0a | 7d 0a 0a 54 45 52 4d 5f |return;.|}..TERM_|
|000014d0| 50 55 42 4c 49 43 20 76 | 6f 69 64 20 49 52 49 53 |PUBLIC v|oid IRIS|
|000014e0| 34 44 5f 67 72 61 70 68 | 69 63 73 28 29 0a 7b 0a |4D_graph|ics().{.|
|000014f0| 20 20 20 20 72 65 73 68 | 61 70 65 76 69 65 77 70 | resh|apeviewp|
|00001500| 6f 72 74 28 29 3b 0a 20 | 20 20 20 6f 72 74 68 6f |ort();. | ortho|
|00001510| 32 28 28 43 6f 6f 72 64 | 29 20 30 2c 20 28 43 6f |2((Coord|) 0, (Co|
|00001520| 6f 72 64 29 20 49 52 49 | 53 34 44 5f 58 4d 41 58 |ord) IRI|S4D_XMAX|
|00001530| 2c 20 28 43 6f 6f 72 64 | 29 20 30 2c 20 28 43 6f |, (Coord|) 0, (Co|
|00001540| 6f 72 64 29 20 49 52 49 | 53 34 44 5f 59 4d 41 58 |ord) IRI|S4D_YMAX|
|00001550| 29 3b 0a 20 20 20 20 69 | 66 20 28 69 72 69 73 32 |);. i|f (iris2|
|00001560| 34 62 69 74 73 29 0a 09 | 52 47 42 63 6f 6c 6f 72 |4bits)..|RGBcolor|
|00001570| 28 63 6f 6c 6f 72 73 32 | 34 62 69 74 73 5b 49 52 |(colors2|4bits[IR|
|00001580| 49 53 34 44 5f 42 41 43 | 4b 47 52 4f 55 4e 44 5d |IS4D_BAC|KGROUND]|
|00001590| 5b 30 5d 2c 0a 09 09 20 | 63 6f 6c 6f 72 73 32 34 |[0],... |colors24|
|000015a0| 62 69 74 73 5b 49 52 49 | 53 34 44 5f 42 41 43 4b |bits[IRI|S4D_BACK|
|000015b0| 47 52 4f 55 4e 44 5d 5b | 31 5d 2c 0a 09 09 20 63 |GROUND][|1],... c|
|000015c0| 6f 6c 6f 72 73 32 34 62 | 69 74 73 5b 49 52 49 53 |olors24b|its[IRIS|
|000015d0| 34 44 5f 42 41 43 4b 47 | 52 4f 55 4e 44 5d 5b 32 |4D_BACKG|ROUND][2|
|000015e0| 5d 29 3b 0a 20 20 20 20 | 65 6c 73 65 0a 09 63 6f |]);. |else..co|
|000015f0| 6c 6f 72 28 57 48 49 54 | 45 29 3b 0a 0a 20 20 20 |lor(WHIT|E);.. |
|00001600| 20 63 6c 65 61 72 28 29 | 3b 0a 0a 20 20 20 20 72 | clear()|;.. r|
|00001610| 65 74 75 72 6e 3b 0a 7d | 0a 0a 54 45 52 4d 5f 50 |eturn;.}|..TERM_P|
|00001620| 55 42 4c 49 43 20 76 6f | 69 64 20 49 52 49 53 34 |UBLIC vo|id IRIS4|
|00001630| 44 5f 74 65 78 74 28 29 | 0a 7b 0a 20 20 20 20 67 |D_text()|.{. g|
|00001640| 66 6c 75 73 68 28 29 3b | 09 09 09 2f 2a 20 66 6c |flush();|.../* fl|
|00001650| 75 73 68 20 62 75 66 66 | 65 72 20 2a 2f 0a 20 20 |ush buff|er */. |
|00001660| 20 20 72 65 74 75 72 6e | 3b 09 09 09 2f 2a 20 65 | return|;.../* e|
|00001670| 6e 74 65 72 20 74 65 78 | 74 20 66 72 6f 6d 20 61 |nter tex|t from a|
|00001680| 6e 6f 74 68 65 72 20 77 | 69 6e 64 6f 77 21 21 21 |nother w|indow!!!|
|00001690| 20 2a 2f 0a 7d 0a 0a 54 | 45 52 4d 5f 50 55 42 4c | */.}..T|ERM_PUBL|
|000016a0| 49 43 20 76 6f 69 64 20 | 49 52 49 53 34 44 5f 6c |IC void |IRIS4D_l|
|000016b0| 69 6e 65 74 79 70 65 28 | 6c 69 6e 65 74 79 70 65 |inetype(|linetype|
|000016c0| 29 0a 69 6e 74 20 6c 69 | 6e 65 74 79 70 65 3b 0a |).int li|netype;.|
|000016d0| 7b 0a 20 20 20 20 73 74 | 61 74 69 63 20 69 6e 74 |{. st|atic int|
|000016e0| 20 70 65 6e 5f 63 6f 6c | 6f 72 5f 32 34 5b 31 31 | pen_col|or_24[11|
|000016f0| 5d 20 3d 0a 20 20 20 20 | 7b 0a 09 49 52 49 53 34 |] =. |{..IRIS4|
|00001700| 44 5f 42 4c 41 43 4b 2c | 09 09 2f 2a 20 72 65 73 |D_BLACK,|../* res|
|00001710| 65 72 76 65 64 20 66 6f | 72 20 62 6f 72 64 65 72 |erved fo|r border|
|00001720| 20 61 6e 64 20 6e 75 6d | 62 65 72 73 20 2a 2f 0a | and num|bers */.|
|00001730| 09 49 52 49 53 34 44 5f | 4d 41 47 45 4e 54 41 2c |.IRIS4D_|MAGENTA,|
|00001740| 09 09 2f 2a 20 72 65 73 | 65 72 76 65 64 20 66 6f |../* res|erved fo|
|00001750| 72 20 61 78 69 73 20 74 | 72 61 63 65 73 20 2a 2f |r axis t|races */|
|00001760| 0a 09 49 52 49 53 34 44 | 5f 4c 49 47 48 54 43 59 |..IRIS4D|_LIGHTCY|
|00001770| 41 4e 2c 0a 09 49 52 49 | 53 34 44 5f 52 45 44 2c |AN,..IRI|S4D_RED,|
|00001780| 0a 09 49 52 49 53 34 44 | 5f 47 52 45 45 4e 2c 0a |..IRIS4D|_GREEN,.|
|00001790| 09 49 52 49 53 34 44 5f | 4c 49 47 48 54 4d 41 47 |.IRIS4D_|LIGHTMAG|
|000017a0| 45 4e 54 41 2c 0a 09 49 | 52 49 53 34 44 5f 59 45 |ENTA,..I|RIS4D_YE|
|000017b0| 4c 4c 4f 57 2c 0a 09 49 | 52 49 53 34 44 5f 4c 49 |LLOW,..I|RIS4D_LI|
|000017c0| 47 48 54 52 45 44 2c 0a | 09 49 52 49 53 34 44 5f |GHTRED,.|.IRIS4D_|
|000017d0| 4c 49 47 48 54 47 52 45 | 45 4e 2c 0a 09 49 52 49 |LIGHTGRE|EN,..IRI|
|000017e0| 53 34 44 5f 43 59 41 4e | 2c 0a 09 49 52 49 53 34 |S4D_CYAN|,..IRIS4|
|000017f0| 44 5f 42 52 4f 57 4e 2c | 0a 20 20 20 20 7d 3b 0a |D_BROWN,|. };.|
|00001800| 20 20 20 20 73 74 61 74 | 69 63 20 69 6e 74 20 70 | stat|ic int p|
|00001810| 65 6e 5f 63 6f 6c 6f 72 | 5b 38 5d 20 3d 0a 20 20 |en_color|[8] =. |
|00001820| 20 20 7b 30 2c 20 31 2c | 20 34 2c 20 35 2c 20 36 | {0, 1,| 4, 5, 6|
|00001830| 2c 20 31 2c 20 32 2c 20 | 34 7d 3b 0a 0a 20 20 20 |, 1, 2, |4};.. |
|00001840| 20 69 66 20 28 69 72 69 | 73 32 34 62 69 74 73 29 | if (iri|s24bits)|
|00001850| 20 7b 0a 09 69 6e 74 20 | 70 65 6e 63 6f 6c 6f 72 | {..int |pencolor|
|00001860| 20 3d 20 70 65 6e 5f 63 | 6f 6c 6f 72 5f 32 34 5b | = pen_c|olor_24[|
|00001870| 6c 69 6e 65 74 79 70 65 | 20 3c 20 30 20 3f 20 6c |linetype| < 0 ? l|
|00001880| 69 6e 65 74 79 70 65 20 | 2b 20 32 20 3a 20 6c 69 |inetype |+ 2 : li|
|00001890| 6e 65 74 79 70 65 20 25 | 20 39 20 2b 20 32 5d 3b |netype %| 9 + 2];|
|000018a0| 0a 0a 09 52 47 42 63 6f | 6c 6f 72 28 63 6f 6c 6f |...RGBco|lor(colo|
|000018b0| 72 73 32 34 62 69 74 73 | 5b 70 65 6e 63 6f 6c 6f |rs24bits|[pencolo|
|000018c0| 72 5d 5b 30 5d 2c 0a 09 | 09 20 63 6f 6c 6f 72 73 |r][0],..|. colors|
|000018d0| 32 34 62 69 74 73 5b 70 | 65 6e 63 6f 6c 6f 72 5d |24bits[p|encolor]|
|000018e0| 5b 31 5d 2c 0a 09 09 20 | 63 6f 6c 6f 72 73 32 34 |[1],... |colors24|
|000018f0| 62 69 74 73 5b 70 65 6e | 63 6f 6c 6f 72 5d 5b 32 |bits[pen|color][2|
|00001900| 5d 29 3b 0a 09 2f 2a 20 | 4d 61 6b 65 20 61 6c 6c |]);../* |Make all|
|00001910| 20 6c 69 6e 65 73 20 73 | 6f 6c 69 64 20 28 6c 69 | lines s|olid (li|
|00001920| 6e 65 73 74 79 6c 65 20 | 30 29 20 75 70 74 6f 20 |nestyle |0) upto |
|00001930| 74 6f 20 74 68 65 20 6e | 69 6e 74 68 2e 20 49 66 |to the n|inth. If|
|00001940| 20 6d 6f 72 65 20 74 68 | 61 6e 0a 09 20 2a 20 39 | more th|an.. * 9|
|00001950| 20 63 6f 6c 6f 72 73 20 | 61 72 65 20 6e 65 65 64 | colors |are need|
|00001960| 65 64 2c 20 73 74 61 72 | 74 20 74 6f 20 75 73 65 |ed, star|t to use|
|00001970| 20 74 68 65 20 64 69 66 | 66 65 72 65 6e 74 20 6c | the dif|ferent l|
|00001980| 69 6e 65 20 73 74 79 6c | 65 73 20 28 31 20 74 6f |ine styl|es (1 to|
|00001990| 20 38 29 2e 0a 09 20 2a | 2f 0a 09 73 65 74 6c 69 | 8)... *|/..setli|
|000019a0| 6e 65 73 74 79 6c 65 28 | 6c 69 6e 65 74 79 70 65 |nestyle(|linetype|
|000019b0| 20 3c 20 39 20 3f 20 30 | 20 3a 20 28 6c 69 6e 65 | < 9 ? 0| : (line|
|000019c0| 74 79 70 65 20 2b 20 32 | 29 20 25 20 38 20 2b 20 |type + 2|) % 8 + |
|000019d0| 31 29 3b 0a 20 20 20 20 | 7d 20 65 6c 73 65 20 7b |1);. |} else {|
|000019e0| 0a 09 6c 69 6e 65 74 79 | 70 65 20 3d 20 6c 69 6e |..linety|pe = lin|
|000019f0| 65 74 79 70 65 20 25 20 | 38 3b 0a 09 63 6f 6c 6f |etype % |8;..colo|
|00001a00| 72 28 28 43 6f 6c 6f 72 | 69 6e 64 65 78 29 20 70 |r((Color|index) p|
|00001a10| 65 6e 5f 63 6f 6c 6f 72 | 5b 6c 69 6e 65 74 79 70 |en_color|[linetyp|
|00001a20| 65 5d 29 3b 0a 09 73 65 | 74 6c 69 6e 65 73 74 79 |e]);..se|tlinesty|
|00001a30| 6c 65 28 6c 69 6e 65 74 | 79 70 65 29 3b 0a 20 20 |le(linet|ype);. |
|00001a40| 20 20 7d 0a 20 20 20 20 | 72 65 74 75 72 6e 3b 0a | }. |return;.|
|00001a50| 7d 0a 0a 54 45 52 4d 5f | 50 55 42 4c 49 43 20 76 |}..TERM_|PUBLIC v|
|00001a60| 6f 69 64 20 49 52 49 53 | 34 44 5f 6d 6f 76 65 28 |oid IRIS|4D_move(|
|00001a70| 78 2c 20 79 29 0a 75 6e | 73 69 67 6e 65 64 20 69 |x, y).un|signed i|
|00001a80| 6e 74 20 78 2c 20 79 3b | 0a 7b 0a 20 20 20 20 6d |nt x, y;|.{. m|
|00001a90| 6f 76 65 32 69 28 78 2c | 20 79 29 3b 0a 20 20 20 |ove2i(x,| y);. |
|00001aa0| 20 72 65 74 75 72 6e 3b | 0a 7d 0a 0a 76 6f 69 64 | return;|.}..void|
|00001ab0| 20 49 52 49 53 34 44 5f | 63 6d 6f 76 65 28 78 2c | IRIS4D_|cmove(x,|
|00001ac0| 20 79 29 0a 75 6e 73 69 | 67 6e 65 64 20 69 6e 74 | y).unsi|gned int|
|00001ad0| 20 78 2c 20 79 3b 0a 7b | 0a 20 20 20 20 63 6d 6f | x, y;.{|. cmo|
|00001ae0| 76 32 69 28 78 2c 20 79 | 29 3b 0a 20 20 20 20 72 |v2i(x, y|);. r|
|00001af0| 65 74 75 72 6e 3b 0a 7d | 0a 0a 54 45 52 4d 5f 50 |eturn;.}|..TERM_P|
|00001b00| 55 42 4c 49 43 20 76 6f | 69 64 20 49 52 49 53 34 |UBLIC vo|id IRIS4|
|00001b10| 44 5f 76 65 63 74 6f 72 | 28 78 2c 20 79 29 0a 75 |D_vector|(x, y).u|
|00001b20| 6e 73 69 67 6e 65 64 20 | 69 6e 74 20 78 2c 20 79 |nsigned |int x, y|
|00001b30| 3b 0a 7b 0a 20 20 20 20 | 64 72 61 77 32 69 28 78 |;.{. |draw2i(x|
|00001b40| 2c 20 79 29 3b 0a 20 20 | 20 20 72 65 74 75 72 6e |, y);. | return|
|00001b50| 3b 0a 7d 0a 0a 0a 54 45 | 52 4d 5f 50 55 42 4c 49 |;.}...TE|RM_PUBLI|
|00001b60| 43 20 76 6f 69 64 20 49 | 52 49 53 34 44 5f 70 75 |C void I|RIS4D_pu|
|00001b70| 74 5f 74 65 78 74 28 78 | 2c 20 79 2c 20 73 74 72 |t_text(x|, y, str|
|00001b80| 29 0a 75 6e 73 69 67 6e | 65 64 20 69 6e 74 20 78 |).unsign|ed int x|
|00001b90| 2c 20 79 3b 0a 63 68 61 | 72 20 2a 73 74 72 3b 0a |, y;.cha|r *str;.|
|00001ba0| 7b 0a 20 20 20 20 49 52 | 49 53 34 44 5f 63 6d 6f |{. IR|IS4D_cmo|
|00001bb0| 76 65 28 78 2c 20 79 20 | 2d 20 49 52 49 53 34 44 |ve(x, y |- IRIS4D|
|00001bc0| 5f 56 43 48 41 52 20 2f | 20 32 29 3b 0a 20 20 20 |_VCHAR /| 2);. |
|00001bd0| 20 63 68 61 72 73 74 72 | 28 73 74 72 29 3b 0a 20 | charstr|(str);. |
|00001be0| 20 20 20 72 65 74 75 72 | 6e 3b 0a 7d 0a 0a 0a 54 | retur|n;.}...T|
|00001bf0| 45 52 4d 5f 50 55 42 4c | 49 43 20 76 6f 69 64 20 |ERM_PUBL|IC void |
|00001c00| 49 52 49 53 34 44 5f 72 | 65 73 65 74 28 29 0a 7b |IRIS4D_r|eset().{|
|00001c10| 0a 20 20 20 20 72 65 74 | 75 72 6e 3b 0a 7d 0a 0a |. ret|urn;.}..|
|00001c20| 23 65 6e 64 69 66 20 2f | 2a 20 54 45 52 4d 5f 42 |#endif /|* TERM_B|
|00001c30| 4f 44 59 20 2a 2f 0a 0a | 23 69 66 64 65 66 20 54 |ODY */..|#ifdef T|
|00001c40| 45 52 4d 5f 54 41 42 4c | 45 0a 0a 54 45 52 4d 5f |ERM_TABL|E..TERM_|
|00001c50| 54 41 42 4c 45 5f 53 54 | 41 52 54 28 69 72 69 73 |TABLE_ST|ART(iris|
|00001c60| 34 64 5f 64 72 69 76 65 | 72 29 0a 20 20 20 20 22 |4d_drive|r). "|
|00001c70| 69 72 69 73 34 64 22 2c | 20 22 53 69 6c 69 63 6f |iris4d",| "Silico|
|00001c80| 6e 20 47 72 61 70 68 69 | 63 73 20 49 52 49 53 20 |n Graphi|cs IRIS |
|00001c90| 34 44 20 53 65 72 69 65 | 73 20 43 6f 6d 70 75 74 |4D Serie|s Comput|
|00001ca0| 65 72 22 2c 0a 20 20 20 | 20 49 52 49 53 34 44 5f |er",. | IRIS4D_|
|00001cb0| 58 4d 41 58 2c 20 49 52 | 49 53 34 44 5f 59 4d 41 |XMAX, IR|IS4D_YMA|
|00001cc0| 58 2c 20 49 52 49 53 34 | 44 5f 56 43 48 41 52 2c |X, IRIS4|D_VCHAR,|
|00001cd0| 20 49 52 49 53 34 44 5f | 48 43 48 41 52 2c 0a 20 | IRIS4D_|HCHAR,. |
|00001ce0| 20 20 20 49 52 49 53 34 | 44 5f 56 54 49 43 2c 20 | IRIS4|D_VTIC, |
|00001cf0| 49 52 49 53 34 44 5f 48 | 54 49 43 2c 20 49 52 49 |IRIS4D_H|TIC, IRI|
|00001d00| 53 34 44 5f 6f 70 74 69 | 6f 6e 73 2c 20 49 52 49 |S4D_opti|ons, IRI|
|00001d10| 53 34 44 5f 69 6e 69 74 | 2c 20 49 52 49 53 34 44 |S4D_init|, IRIS4D|
|00001d20| 5f 72 65 73 65 74 2c 0a | 20 20 20 20 49 52 49 53 |_reset,.| IRIS|
|00001d30| 34 44 5f 74 65 78 74 2c | 20 6e 75 6c 6c 5f 73 63 |4D_text,| null_sc|
|00001d40| 61 6c 65 2c 20 49 52 49 | 53 34 44 5f 67 72 61 70 |ale, IRI|S4D_grap|
|00001d50| 68 69 63 73 2c 20 49 52 | 49 53 34 44 5f 6d 6f 76 |hics, IR|IS4D_mov|
|00001d60| 65 2c 20 49 52 49 53 34 | 44 5f 76 65 63 74 6f 72 |e, IRIS4|D_vector|
|00001d70| 2c 0a 20 20 20 20 49 52 | 49 53 34 44 5f 6c 69 6e |,. IR|IS4D_lin|
|00001d80| 65 74 79 70 65 2c 20 49 | 52 49 53 34 44 5f 70 75 |etype, I|RIS4D_pu|
|00001d90| 74 5f 74 65 78 74 2c 20 | 6e 75 6c 6c 5f 74 65 78 |t_text, |null_tex|
|00001da0| 74 5f 61 6e 67 6c 65 2c | 0a 20 20 20 20 6e 75 6c |t_angle,|. nul|
|00001db0| 6c 5f 6a 75 73 74 69 66 | 79 5f 74 65 78 74 2c 20 |l_justif|y_text, |
|00001dc0| 64 6f 5f 70 6f 69 6e 74 | 2c 20 64 6f 5f 61 72 72 |do_point|, do_arr|
|00001dd0| 6f 77 2c 20 73 65 74 5f | 66 6f 6e 74 5f 6e 75 6c |ow, set_|font_nul|
|00001de0| 6c 0a 54 45 52 4d 5f 54 | 41 42 4c 45 5f 45 4e 44 |l.TERM_T|ABLE_END|
|00001df0| 28 69 72 69 73 34 64 5f | 64 72 69 76 65 72 29 0a |(iris4d_|driver).|
|00001e00| 0a 23 75 6e 64 65 66 20 | 4c 41 53 54 5f 54 45 52 |.#undef |LAST_TER|
|00001e10| 4d 0a 23 64 65 66 69 6e | 65 20 4c 41 53 54 5f 54 |M.#defin|e LAST_T|
|00001e20| 45 52 4d 20 69 72 69 73 | 34 64 5f 64 72 69 76 65 |ERM iris|4d_drive|
|00001e30| 72 0a 0a 23 65 6e 64 69 | 66 20 2f 2a 20 54 45 52 |r..#endi|f /* TER|
|00001e40| 4d 5f 54 41 42 4c 45 20 | 2a 2f 0a 23 65 6e 64 69 |M_TABLE |*/.#endi|
|00001e50| 66 20 2f 2a 20 54 45 52 | 4d 5f 50 52 4f 54 4f 5f |f /* TER|M_PROTO_|
|00001e60| 4f 4e 4c 59 20 2a 2f 0a | 0a 23 69 66 64 65 66 20 |ONLY */.|.#ifdef |
|00001e70| 54 45 52 4d 5f 48 45 4c | 50 0a 53 54 41 52 54 5f |TERM_HEL|P.START_|
|00001e80| 48 45 4c 50 28 69 72 69 | 73 34 64 29 0a 22 31 20 |HELP(iri|s4d)."1 |
|00001e90| 69 72 69 73 34 64 22 2c | 0a 22 3f 63 6f 6d 6d 61 |iris4d",|."?comma|
|00001ea0| 6e 64 73 20 73 65 74 20 | 74 65 72 6d 69 6e 61 6c |nds set |terminal|
|00001eb0| 20 69 72 69 73 34 64 22 | 2c 0a 22 3f 73 65 74 20 | iris4d"|,."?set |
|00001ec0| 74 65 72 6d 69 6e 61 6c | 20 69 72 69 73 34 64 22 |terminal| iris4d"|
|00001ed0| 2c 0a 22 3f 73 65 74 20 | 74 65 72 6d 20 69 72 69 |,."?set |term iri|
|00001ee0| 73 34 64 22 2c 0a 22 3f | 74 65 72 6d 69 6e 61 6c |s4d",."?|terminal|
|00001ef0| 20 69 72 69 73 34 64 22 | 2c 0a 22 3f 74 65 72 6d | iris4d"|,."?term|
|00001f00| 20 69 72 69 73 34 64 22 | 2c 0a 22 3f 69 72 69 73 | iris4d"|,."?iris|
|00001f10| 34 64 22 2c 0a 22 20 54 | 68 65 20 60 69 72 69 73 |4d",." T|he `iris|
|00001f20| 34 64 60 20 74 65 72 6d | 69 6e 61 6c 20 64 72 69 |4d` term|inal dri|
|00001f30| 76 65 72 20 73 75 70 70 | 6f 72 74 73 20 53 69 6c |ver supp|orts Sil|
|00001f40| 69 63 6f 6e 20 47 72 61 | 70 68 69 63 73 20 49 52 |icon Gra|phics IR|
|00001f50| 49 53 20 34 44 20 63 6f | 6d 70 75 74 65 72 73 2e |IS 4D co|mputers.|
|00001f60| 22 2c 0a 22 20 49 74 73 | 20 6f 6e 6c 79 20 6f 70 |",." Its| only op|
|00001f70| 74 69 6f 6e 20 69 73 20 | 38 2d 20 6f 72 20 32 34 |tion is |8- or 24|
|00001f80| 2d 62 69 74 20 63 6f 6c | 6f 72 20 64 65 70 74 68 |-bit col|or depth|
|00001f90| 2e 20 20 54 68 65 20 64 | 65 66 61 75 6c 74 20 69 |. The d|efault i|
|00001fa0| 73 20 38 2e 22 2c 0a 22 | 22 2c 0a 22 20 53 79 6e |s 8.",."|",." Syn|
|00001fb0| 74 61 78 3a 22 2c 0a 22 | 20 20 20 20 20 20 20 73 |tax:",."| s|
|00001fc0| 65 74 20 74 65 72 6d 69 | 6e 61 6c 20 69 72 69 73 |et termi|nal iris|
|00001fd0| 34 64 20 7b 38 20 7c 20 | 32 34 7d 22 2c 0a 22 22 |4d {8 | |24}",.""|
|00001fe0| 2c 0a 22 20 54 68 65 20 | 63 6f 6c 6f 72 20 64 65 |,." The |color de|
|00001ff0| 70 74 68 20 69 73 20 6e | 6f 74 20 72 65 61 6c 6c |pth is n|ot reall|
|00002000| 79 20 61 20 63 68 6f 69 | 63 65 20 2d 2d 20 74 68 |y a choi|ce -- th|
|00002010| 65 20 76 61 6c 75 65 20 | 61 70 70 72 6f 70 72 69 |e value |appropri|
|00002020| 61 74 65 20 66 6f 72 20 | 74 68 65 22 2c 0a 22 20 |ate for |the",." |
|00002030| 68 61 72 64 77 61 72 65 | 20 73 68 6f 75 6c 64 20 |hardware| should |
|00002040| 62 65 20 73 65 6c 65 63 | 74 65 64 2e 22 2c 0a 22 |be selec|ted.",."|
|00002050| 22 2c 0a 22 20 57 68 65 | 6e 20 75 73 69 6e 67 20 |",." Whe|n using |
|00002060| 32 34 2d 62 69 74 20 6d | 6f 64 65 2c 20 74 68 65 |24-bit m|ode, the|
|00002070| 20 63 6f 6c 6f 72 73 20 | 63 61 6e 20 62 65 20 64 | colors |can be d|
|00002080| 69 72 65 63 74 6c 79 20 | 73 70 65 63 69 66 69 65 |irectly |specifie|
|00002090| 64 20 76 69 61 20 74 68 | 65 20 66 69 6c 65 22 2c |d via th|e file",|
|000020a0| 0a 22 20 2e 67 6e 75 70 | 6c 6f 74 5f 69 72 69 73 |." .gnup|lot_iris|
|000020b0| 34 64 20 74 68 61 74 20 | 69 73 20 73 65 61 72 63 |4d that |is searc|
|000020c0| 68 65 64 20 69 6e 20 74 | 68 65 20 63 75 72 72 65 |hed in t|he curre|
|000020d0| 6e 74 20 64 69 72 65 63 | 74 6f 72 79 20 61 6e 64 |nt direc|tory and|
|000020e0| 20 74 68 65 6e 20 69 6e | 20 74 68 65 22 2c 0a 22 | then in| the",."|
|000020f0| 20 68 6f 6d 65 20 64 69 | 72 65 63 74 6f 72 79 20 | home di|rectory |
|00002100| 73 70 65 63 69 66 69 65 | 64 20 62 79 20 74 68 65 |specifie|d by the|
|00002110| 20 48 4f 4d 45 20 65 6e | 76 69 72 6f 6e 6d 65 6e | HOME en|vironmen|
|00002120| 74 20 76 61 72 69 61 62 | 6c 65 2e 20 20 54 68 69 |t variab|le. Thi|
|00002130| 73 20 66 69 6c 65 20 68 | 6f 6c 64 73 22 2c 0a 22 |s file h|olds",."|
|00002140| 20 52 47 42 20 76 61 6c | 75 65 73 20 66 6f 72 20 | RGB val|ues for |
|00002150| 74 68 65 20 62 61 63 6b | 67 72 6f 75 6e 64 2c 20 |the back|ground, |
|00002160| 62 6f 72 64 65 72 2c 20 | 6c 61 62 65 6c 73 20 61 |border, |labels a|
|00002170| 6e 64 20 6e 69 6e 65 20 | 70 6c 6f 74 74 69 6e 67 |nd nine |plotting|
|00002180| 20 63 6f 6c 6f 72 73 2c | 20 69 6e 22 2c 0a 22 20 | colors,| in",." |
|00002190| 74 68 61 74 20 6f 72 64 | 65 72 2e 20 20 46 6f 72 |that ord|er. For|
|000021a0| 20 65 78 61 6d 70 6c 65 | 2c 20 68 65 72 65 20 69 | example|, here i|
|000021b0| 73 20 61 20 66 69 6c 65 | 20 63 6f 6e 74 61 69 6e |s a file| contain|
|000021c0| 69 6e 67 20 74 68 65 20 | 64 65 66 61 75 6c 74 20 |ing the |default |
|000021d0| 63 6f 6c 6f 72 73 3a 22 | 2c 0a 22 22 2c 0a 22 20 |colors:"|,."",." |
|000021e0| 20 20 20 20 20 20 38 35 | 20 20 20 38 35 20 20 20 | 85| 85 |
|000021f0| 38 35 20 20 20 20 20 42 | 61 63 6b 67 72 6f 75 6e |85 B|ackgroun|
|00002200| 64 20 20 20 28 64 61 72 | 6b 20 67 72 61 79 29 22 |d (dar|k gray)"|
|00002210| 2c 0a 22 20 20 20 20 20 | 20 20 30 20 20 20 20 30 |,." | 0 0|
|00002220| 20 20 20 20 30 20 20 20 | 20 20 20 42 6f 75 6e 64 | 0 | Bound|
|00002230| 61 72 79 20 20 20 20 20 | 28 62 6c 61 63 6b 29 22 |ary |(black)"|
|00002240| 2c 0a 22 20 20 20 20 20 | 20 20 31 37 30 20 20 30 |,." | 170 0|
|00002250| 20 20 20 20 31 37 30 20 | 20 20 20 4c 61 62 65 6c | 170 | Label|
|00002260| 69 6e 67 20 20 20 20 20 | 28 6d 61 67 65 6e 74 61 |ing |(magenta|
|00002270| 29 22 2c 0a 22 20 20 20 | 20 20 20 20 38 35 20 20 |)",." | 85 |
|00002280| 20 32 35 35 20 20 32 35 | 35 20 20 20 20 50 6c 6f | 255 25|5 Plo|
|00002290| 74 20 43 6f 6c 6f 72 20 | 31 20 28 6c 69 67 68 74 |t Color |1 (light|
|000022a0| 20 63 79 61 6e 29 22 2c | 0a 22 20 20 20 20 20 20 | cyan)",|." |
|000022b0| 20 31 37 30 20 20 30 20 | 20 20 20 30 20 20 20 20 | 170 0 | 0 |
|000022c0| 20 20 50 6c 6f 74 20 43 | 6f 6c 6f 72 20 32 20 28 | Plot C|olor 2 (|
|000022d0| 72 65 64 29 22 2c 0a 22 | 20 20 20 20 20 20 20 30 |red)",."| 0|
|000022e0| 20 20 20 20 31 37 30 20 | 20 30 20 20 20 20 20 20 | 170 | 0 |
|000022f0| 50 6c 6f 74 20 43 6f 6c | 6f 72 20 33 20 28 67 72 |Plot Col|or 3 (gr|
|00002300| 65 65 6e 29 22 2c 0a 22 | 20 20 20 20 20 20 20 32 |een)",."| 2|
|00002310| 35 35 20 20 38 35 20 20 | 20 32 35 35 20 20 20 20 |55 85 | 255 |
|00002320| 50 6c 6f 74 20 43 6f 6c | 6f 72 20 34 20 28 6c 69 |Plot Col|or 4 (li|
|00002330| 67 68 74 20 6d 61 67 65 | 6e 74 61 29 22 2c 0a 22 |ght mage|nta)",."|
|00002340| 20 20 20 20 20 20 20 32 | 35 35 20 20 32 35 35 20 | 2|55 255 |
|00002350| 20 38 35 20 20 20 20 20 | 50 6c 6f 74 20 43 6f 6c | 85 |Plot Col|
|00002360| 6f 72 20 35 20 28 79 65 | 6c 6c 6f 77 29 22 2c 0a |or 5 (ye|llow)",.|
|00002370| 22 20 20 20 20 20 20 20 | 32 35 35 20 20 38 35 20 |" |255 85 |
|00002380| 20 20 38 35 20 20 20 20 | 20 50 6c 6f 74 20 43 6f | 85 | Plot Co|
|00002390| 6c 6f 72 20 36 20 28 6c | 69 67 68 74 20 72 65 64 |lor 6 (l|ight red|
|000023a0| 29 22 2c 0a 22 20 20 20 | 20 20 20 20 38 35 20 20 |)",." | 85 |
|000023b0| 20 32 35 35 20 20 38 35 | 20 20 20 20 20 50 6c 6f | 255 85| Plo|
|000023c0| 74 20 43 6f 6c 6f 72 20 | 37 20 28 6c 69 67 68 74 |t Color |7 (light|
|000023d0| 20 67 72 65 65 6e 29 22 | 2c 0a 22 20 20 20 20 20 | green)"|,." |
|000023e0| 20 20 30 20 20 20 20 31 | 37 30 20 20 31 37 30 20 | 0 1|70 170 |
|000023f0| 20 20 20 50 6c 6f 74 20 | 43 6f 6c 6f 72 20 38 20 | Plot |Color 8 |
|00002400| 28 63 79 61 6e 29 22 2c | 0a 22 20 20 20 20 20 20 |(cyan)",|." |
|00002410| 20 31 37 30 20 20 31 37 | 30 20 20 30 20 20 20 20 | 170 17|0 0 |
|00002420| 20 20 50 6c 6f 74 20 43 | 6f 6c 6f 72 20 39 20 28 | Plot C|olor 9 (|
|00002430| 62 72 6f 77 6e 29 22 2c | 0a 22 22 2c 0a 22 20 54 |brown)",|."",." T|
|00002440| 68 69 73 20 66 69 6c 65 | 20 6d 75 73 74 20 68 61 |his file| must ha|
|00002450| 76 65 20 65 78 61 63 74 | 6c 79 20 31 32 20 6c 69 |ve exact|ly 12 li|
|00002460| 6e 65 73 20 6f 66 20 52 | 47 42 20 74 72 69 70 6c |nes of R|GB tripl|
|00002470| 65 73 2e 20 20 4e 6f 20 | 65 6d 70 74 79 20 6c 69 |es. No |empty li|
|00002480| 6e 65 73 20 61 72 65 22 | 2c 0a 22 20 61 6c 6c 6f |nes are"|,." allo|
|00002490| 77 65 64 2c 20 61 6e 64 | 20 61 6e 79 74 68 69 6e |wed, and| anythin|
|000024a0| 67 20 61 66 74 65 72 20 | 74 68 65 20 74 68 69 72 |g after |the thir|
|000024b0| 64 20 6e 75 6d 62 65 72 | 20 6f 6e 20 61 20 6c 69 |d number| on a li|
|000024c0| 6e 65 20 69 73 20 69 67 | 6e 6f 72 65 64 2e 22 0a |ne is ig|nored.".|
|000024d0| 45 4e 44 5f 48 45 4c 50 | 28 69 72 69 73 34 64 29 |END_HELP|(iris4d)|
|000024e0| 0a 23 65 6e 64 69 66 20 | 2f 2a 20 54 45 52 4d 5f |.#endif |/* TERM_|
|000024f0| 54 41 42 4c 45 20 2a 2f | 0a |TABLE */|. |
+--------+-------------------------+-------------------------+--------+--------+